<html>
<#include "../common/header.ftl">
<body>

<div id="wrapper" class="toggled">
<#--边栏-->
<#include "../common/nav.ftl">
<#--内容显示区域-->
    <div id="page-content-wrapper">



        <div class="container">
            <div class="row clearfix">
                <div class="col-md-12 column">

                    <form role="form" method="post" action="/sell/seller/product/save">
                        <div class="form-group">
                            <label >名称</label><input type="text" class="form-control" name="productName" value="${(productInfo.productName)!''}"/>
                        </div>
                        <div class="form-group">
                            <label >单价</label><input type="text" class="form-control" name="productPrice" value="${(productInfo.productPrice)!''}" />
                        </div>
                        <div class="form-group">
                            <label >库存</label><input type="text" class="form-control" name="productStock" value="${(productInfo.productStock)!''}" />
                        </div>
                        <div class="form-group">
                            <label >描述</label><input type="text" class="form-control" name="productDescription" value="${(productInfo.productDescription)!''}"/>
                        </div>
                        <div class="form-group">
                            <label >图片</label><img  src="${(productInfo.productIcn)!''}" alt=""/><input type="text" class="form-control" name="productIcn" value="${(productInfo.productIcn)!''}"/>
                        </div>
                        <div class="form-group">
                            <label >类目</label>
                            <select name="categoryType" class="form-control">
                            <#list productCategoryList as category>
                                <option value="${category.categoryType}"
                                <#if (productInfo.categoryType) ?? && category.categoryType==productInfo.categoryType>selected><#else> ></#if>
                                ${category.categoryName}
                                </option>
                            </#list>
                            </select>
                        </div>
                        <input type="hidden" name="productId" value="${(productInfo.productId) !''}"/>
                        <input type="submit" class="btn btn-default btn-info" value="提交"/>


                    </form>
                </div>
            </div>
        </div>






    </div>
</div>




</body>
</html>